<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>课程详情</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/style.css"/>
    <style>
        body,html{ background-color: transparent}
        /*body header{*/
            /*background-color: transparent;*/
        /*}*/
        .flex{display: -webkit-box; display: -webkit-flex; display: flex;}
        #header-button{
            justify-content: space-between;
            align-items: center;
            width: 100%;
            height: 0.30rem;
        }
        #button-back{
            margin-left: 0.16rem;
            width: 0.30rem;
            height: 0.30rem;
            background-image: url("../../image/course/back-button.png");
            background-size: 0.30rem 0.30rem;
        }
        #share-icon{
            margin-right: 0.16rem;
            width: 0.30rem;
            height: 0.30rem;
            background-image: url("../../image/course/share-button.png");
            background-size: 0.30rem 0.30rem;
        }
    </style>
</head>
<body>
<div class="flex" id="header-button">
    <div class="flex" style="width: 0.70rem; height: 0.30rem; align-items: center;" tapmode onclick="api.closeWin();">
        <div id="button-back"></div>
    </div>
    <!--<div class="flex" style="width: 0.70rem; height: 0.30rem; align-items: center; justify-content: flex-end" tapmode onclick="share();">-->
        <!--<div id="share-icon"></div>-->
    <!--</div>-->
</div>
</body>
</html>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/common/common.js"></script>
<script type="text/javascript">
    var headerButtonEl;
    apiready = function () {
        headerButtonEl = $api.byId("header-button");
        $api.fixStatusBar( headerButtonEl );
    }
    
    function share() {
        var jsfun = 'share();';
        api.execScript({
            frameName: 'videoFrame',
            script: jsfun
        });
    }
</script>